package com.friday.bean;

public class Storage {

    public Integer id;
    public Integer product_id;
    public Integer saleorg_id;
    public Integer plant_id;
    public int quantity;

    public Storage(Integer id, Integer product_id, Integer saleorg_id, Integer plant_id, int quantity) {
        this.id = id;
        this.product_id = product_id;
        this.saleorg_id = saleorg_id;
        this.plant_id = plant_id;
        this.quantity = quantity;
    }

    public Storage() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    public Integer getSaleorg_id() {
        return saleorg_id;
    }

    public void setSaleorg_id(Integer saleorg_id) {
        this.saleorg_id = saleorg_id;
    }

    public Integer getPlant_id() {
        return plant_id;
    }

    public void setPlant_id(Integer plant_id) {
        this.plant_id = plant_id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "Storage{" +
                "id=" + id +
                ", product_id=" + product_id +
                ", saleorg_id=" + saleorg_id +
                ", plant_id=" + plant_id +
                ", quantity=" + quantity +
                '}';
    }
}
